#define _CRT_SECURE_NO_WARNINGS 1

#include "Stack.h"

int main()
{
	ST stack;
	STInit(&stack);
	StackPush(&stack, 1);
	StackPush(&stack, 2);
	StackPush(&stack, 3);
	printf("%d\n", StackPop(&stack));
	printf("%d\n", StackPeek(&stack));
	printf("%d\n", STSize(&stack));
	printf("%d\n", StackEmpty(&stack));
	for (int i = 0; i < stack.top; i++)
	{
		printf("%d ", stack.arr[i]);
	}
	printf("\n");
	STDestroy(&stack);
	printf("%d\n", STSize(&stack));
	printf("%d\n", StackEmpty(&stack));
	return 0;
}